All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.media.j3d.DepthComponent

java.lang.Object
   |
   +----javax.media.j3d.SceneGraphObject
           |
           +----javax.media.j3d.NodeComponent
                   |
                   +----javax.media.j3d.DepthComponent

public abstract class DepthComponent
extends NodeComponent
Abstract base class that defines a 2D array of depth (Z) values.


Constructor Index

 o DepthComponent()
Constructs a new depth (z-buffer) component object.
 o DepthComponent(int, int)
Constructs a new depth (z-buffer) component object with the specified width and height.

Method Index

 o getHeight()
Retrieves the height of this depth component object
 o getWidth()
Retrieves the width of this depth component object

Constructors

 o DepthComponent
 public DepthComponent()
Constructs a new depth (z-buffer) component object.

 o DepthComponent
 public DepthComponent(int width,
                       int height)
Constructs a new depth (z-buffer) component object with the specified width and height.

Parameters:
width - the width of the array of depth values
height - the height of the array of depth values

Methods

 o getWidth
 public int getWidth()
Retrieves the width of this depth component object

Returns:
the width of the array of depth values
 o getHeight
 public int getHeight()
Retrieves the height of this depth component object

Returns:
the height of the array of depth values

All Packages  Class Hierarchy  This Package  Previous  Next  Index